package com.sooth.system.tenant.table;

import com.dream.system.annotation.Column;
import com.dream.system.annotation.Id;
import com.dream.system.annotation.Table;
import lombok.Data;

import java.sql.Types;

/**
 * @Description: 租户表
 * @Author: Lion Li
 * @Date: 2023-09-23 10:02:01
 */
@Data
@Table("sys_tenant")
public class SysTenant {


    /**
     * id
     */
    @Id
    @Column(value = "id", jdbcType = Types.BIGINT)
    private Long id;

    /**
     * 租户编号
     */
    @Column(value = "tenant_id", jdbcType = Types.VARCHAR)
    private String tenantId;

    /**
     * 租户名称
     */
    @Column(value = "tenant_name", jdbcType = Types.VARCHAR)
    private String tenantName;

    /**
     * 备注
     */
    @Column(value = "remark", jdbcType = Types.VARCHAR)
    private String remark;

    /**
     * 租户套餐编号
     */
    @Column(value = "package_id", jdbcType = Types.BIGINT)
    private Long packageId;

    /**
     * 过期时间
     */
    @Column(value = "expire_time", jdbcType = Types.TIMESTAMP)
    private java.util.Date expireTime;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @Column(value = "del_flag", jdbcType = Types.INTEGER)
    private Integer delFlag;

    /**
     * 创建者
     */
    @Column(value = "create_by", jdbcType = Types.BIGINT)
    private Long createBy;

    /**
     * 创建时间
     */
    @Column(value = "create_time", jdbcType = Types.TIMESTAMP)
    private java.util.Date createTime;

    /**
     * 更新者
     */
    @Column(value = "update_by", jdbcType = Types.BIGINT)
    private Long updateBy;

    /**
     * 更新时间
     */
    @Column(value = "update_time", jdbcType = Types.TIMESTAMP)
    private java.util.Date updateTime;
}
